

module.exports = {
  // '@vuepress/pwa': {
  //   serviceWorker: true,
  //   updatePopup: {
  //     message: "发现新内容可用.",
  //     buttonText: "刷新"
  //   }
  // },
  '@vuepress/back-to-top': true,
  // '@vuepress/medium-zoom': {Y
  //   selector: '.content__default img',
  // },
  '@vuepress/last-updated': {
    transformer: (timestamp) => moment(timestamp).format('LLLL')
  },
  "vuepress-plugin-auto-sidebar": {
    titleMode: "titlecase",
    nav: true,
    sidebarDepth:2
  }
};